<?php
	$this->load->view("common/header");
	/*	上传ebook 表单 */
	$config = array(
		'action'=>'http://'.site_url('upload'),
		'base'=>'ebook',
		'type'=>'file', //upload
		'title'=>'Ebook Upload',
		'hidden'=>array('upload1'=>'ebook-file'),
		'fields'=>array(
			array('type'=>'text','name'=>'ebook-name','id'=>'ebook-name','size'=>50,'maxlength'=>80,'value'=>"Please Input the file name"),
			array('type'=>'file','name'=>'ebook-file','id'=>'ebook-file','size'=>50)
		)
	);
	form_generate($config);
	$this->load->view("common/footer");
?>